#!/bin/sh
if [ -z $1 ]
then
    echo Usage: `basename $0` SYSTEM
    exit 1
fi

sbcl --noinform  \
     --end-runtime-options \
     --disable-debugger \
     --eval "(REQUIRE \"autoproject\")" \
     --eval "(AUTOPROJECT::MAKE-MAKEFILE-FOR-SYSTEM \"$1\")" \
     --eval "(QUIT)"
